// StuOrderDetailRepository.java
package com.example.teacherservice.repository;

import com.example.teacherservice.entity.StuOrderDetail;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StuOrderDetailRepository extends JpaRepository<StuOrderDetail, Long> {
    List<StuOrderDetail> findByOrderId(Long orderId);
}